

body{
    background-color:white;
}
 body.ukazkosik .kosikpanel{
    inset: 0 0 0 auto;
 }
 body.ukazkosik.container{
    transform: translateX(-250px);

 }
 
.navbar{
    
    display: flex;
    padding: 20px;
    align-items: center;
    background-color:aliceblue ;
    width: 95%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    z-index: 101;
}
.pocetproduktov{
    display:flex;
    width: 20px;
    height: 20px;
    background-color:orangered;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius:90%;
    position: absolute;
    top: 45%;
    right: -8px;
    visibility: hidden;
}

a{
    text-decoration: none;
    color:deepskyblue;
}
p{
    font-size: medium;
    color:deepskyblue;
}
.container{
    width: 100%;
    max-width: 90vw;
    padding-left: 30px;
    padding-right: 30px;
    transition: transform .8s;

}
.riadok{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

    


svg{
    width: 30px;
}
header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
header .kosikikonka{
    border-radius: 25px;
    background-color:rgb(255, 255, 255);
    position: relative;
    cursor: pointer;

    
}


.neviem{
    font-family: 'Times New Roman', Times, serif;

}
@media (max-width: 800px) {
    .kosikpanel {
        width: 95%;
        max-width: 400px;
        height: 70vh;
    }
    .kosik-footer{
        width: 95%;
        max-width: 400px;
    }
}

.kosikpanel{
    width: 400px;
    background:ghostwhite;
    position: fixed;
    top: 0;
    right: -100%; 
    transition: .8s;
    box-shadow: -2px 0 10px rgba(0,0, 0, 0.1);
    height: 90vh;
    padding: 65px 20px 40px;
    z-index: 100;
    overflow-y: auto;
}
.kosikpanel.active{
    right: 0;
}

.produktbox p{
    color: black;
}
.kosik-title{
    text-align: center;
    font-size: 30px;

}
.kosik-box{
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.kosik-box img{
    width: 100px;
    height: 100px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 20px; 
}
.kosik-info{
    display: grid;
    gap: 8px;
    margin-right: auto;
}
.kosik-produkt-nazov{
    font-size: 16px;
    line-height: 1;
}
.kosik-cena{
    font-weight: 500;
}
.kosik-pocet{
    display: flex;
    
 
}

.kosikpanel {
    display: flex;
    flex-direction: column;
}

.kosik-kontent {
    flex: 0.9;
    overflow-y: auto;
    margin-bottom: 50px; 
}

.kosik-footer {
    
    width: 400px;
    background-color: ghostwhite;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
    display: flex;
    flex-direction: column;
    
}



.kosik-pocet .cislo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    cursor: default;
}
.kosik-remove{
    font-size: 25px;
    cursor: pointer;
}
.total{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid#333;
    margin-top: 20px;
    font-size: 18px;

}
.total-cena{
    margin-left: 10px;
    font-weight: 700;
}
.kupit{
    display: block;
    padding: 10px 30px;
    background:cornflowerblue;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    margin: 20px auto 0;
    cursor: pointer;
}
#kosik-zavriet{
    position: absolute;
    top: 20px;
    left: 15px;
    font-size: 35px;
    cursor: pointer;
}
.pata {
    margin-top: 50px;
    background: whitesmoke;
    font-size: 14px;}
.patastlpec1, .patastlpec2,.patastlpec3{
    min-width: 250px;
    margin-bottom: 20px;
}
.patastlpec1{
    flex-basis: 20%;
    text-align: center;
}
.patastlpec2{
    flex: 1;
    text-align: center;
}
.patastlpec3{
    flex-basis: 25%;
    text-align: center;
}
.copyright{ 
    color: #333;
    text-align: center;
}
.pata hr{
    
    border: none;
    height: 2px;
    margin: 20px;
    background:#333}

.socikonka{
    font-size: 30px;
}
.obchod{
    padding: 30px 5% 30px
}

.produkt{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax( 250px, 1fr));
    gap:30px;
}

.produktbox .img{
    
    max-height: 400px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}
.produkt2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax( 200px, 1fr));
    gap:30px
}
.produkt2 .img{
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    max-height: 350px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}
.produkt .img{
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}
.img img{
    width: 100%;
    transition: 0.5s;
}
.img:hover img{
    transform: scale(1.1);
}

.produktbox .produkt-nazov{
    font-size: 20px;
    margin-top: 10px;
}
.produktbox{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%; 
    box-sizing: border-box;
}
.produktbox .cenovka-kosik{
    margin-top: auto;
    display: flex;
    justify-content:space-between;
    align-items: center;
}
.cenovka-kosik .cenovka{
    font-size: 26px;
    font-weight: 800;
    

}
.produktbox .cenovka-kosik:hover {
    text-decoration:underline;
    
    
}
.cenovka-kosik .kosikikonka-pridat{
    padding: 10px;
    background:rgb(18, 63, 145) ;
    border-radius: 6px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    
}



.order-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 50%;
    margin: 0 auto;
}

.order-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.order-form button {
    background-color: #e35f26;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.order-form button:hover {
    background-color: #d3511b;
}
